package cn.founder.org.domain;

import cn.founder.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee extends BaseDomain{
    //ID 来源于继承 公共BaseDomainid
    private String username;
    private String email;
    private String phone;
    private String salt;//盐值
    private String password;//盐值加密后的密码
    private Integer age;
    private Integer state = 1;//设置初始状态为待审核

    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;
}
